/*
 * Copyright 2025 arisgo@163.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.arisgo.cloud.attendance.clazz.entity;

import com.arisgo.cloud.web.model.NumberIdWithTime;
import com.mybatisflex.annotation.Table;

import lombok.Data;

/**
 * 排班组
 *
 * @author Coulson
 * @since 2025-03-26
 */
@Data
@Table("att_arrange_group")
public class ArrangeGroup extends NumberIdWithTime {

    /**
     * 租户
     */
    private Long tenantId;
    /**
     * 组名
     */
    private String name;
    /**
     * 说明
     */
    private String describe;
    /**
     * 工制id
     */
    private Long systemId;
    /**
     * 日历id
     */
    private Long calendarId;
    /**
     * 班次id
     */
    private Long shiftId;
    /**
     * 状态 true/启用 false/停用
     */
    private Boolean status;

    public static final String TENANT_ID = "tenant_id";
    public static final String SYSTEM_ID = "system_id";
    public static final String CALENDAR_ID = "calendar_id";
    public static final String SHIFT_ID = "shift_id";
    public static final String NAME = "name";
    public static final String DESC = "desc";
    public static final String STATUS = "status";
}
